-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print string contents for "this" references #20933
base: master
Are you sure you want to change the base?
Print string contents for "this" references #20933
Conversation
@TobiAjila Could you please take a look? |
34fd8b7
to
ca5dd4d
Compare
@keithc-ca Please review these changes |
runtime/rastrace/method_trace.c
Outdated
sprintf(outputString, "(String)<Memory allocation error>"); | ||
} else if (utf8Length > maxStringLength) { | ||
sprintf(outputString, "(String)\"%.*s\"...", (U_32)maxStringLength, utf8String); | ||
} else { | ||
sprintf(outputString, "(String)\"%.*s\"", (U_32)utf8Length, utf8String); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should include @%p -
like lines 536-540.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 237 takes the receiver as an argument to print the address, that's why it's not added here.
Would you like me to change the format to do this way instead?
26dfab8
to
ff2e56f
Compare
ae0d1ff
to
d91b931
Compare
The changes reflect the feature request eclipse-openj9#20878. Print string contents for this references. Also, print address for string arguments and returns. Closes: eclipse-openj9#20878 Signed-off-by: Nick Kamal <[email protected]>
7c853ff
to
a1819ed
Compare
The changes reflect the feature request #20878.
Print string contents for
this
references.Also, print address for string arguments and returns.
Closes: #20878
Signed-off-by: Nick Kamal <[email protected]>